from flask_sqlalchemy import SQLAlchemy

# 初始化SQLAlchemy
db = SQLAlchemy()

class Config:
    # 调试模式
    DEBUG = True
    # SQLite数据库连接路径
    SQLALCHEMY_DATABASE_URI = 'sqlite:///ag.db'
    # 关闭SQLAlchemy修改跟踪
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    # 密钥配置
    SECRET_KEY = "Dogfights_SecretKey_2025&^!"